<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <script>
    const students = [
      { name: '小王', Chinese: 40, Math: 30 },
      { name: '小李', Chinese: 10, Math: 90 },
      { name: '小红', Chinese: 10, Math: 90 },
      { name: '小张', Chinese: 20, Math: 50 },
    ]
    const arr = students.map(v => v.Chinese + v.Math).sort((a, b) => b - a)
    console.log(arr);

    const maxScore = arr[0]
    console.log(maxScore);

    const targetStudent = students.filter(v => v.Chinese + v.Math === maxScore)
    console.log(targetStudent);
  </script>
</body>

</html>